﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.Manager
{
    public class tc_Department
    {
        private readonly DataAccess.tc_Department _department;
        public tc_Department()
        {
            _department = new DataAccess.tc_Department();
        }
        public bool Add(Model.tc_Department model)
        {
            return _department.Add(model);
        }

        public bool Update(Model.tc_Department model)
        {
            return _department.Update(model);
        }

        public Model.tc_Department GetModel(Guid id)
        {
            return _department.GetModel(id);
        }

        public bool Delete(Guid id)
        {
            return _department.Delete(id);
        }

        public List<Model.tc_Department> GetList()
        {
            return _department.GetList();
        }
    }
}
